package com.gking.processHarvest.service.Tag;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gking.processHarvest.common.Res;
import com.gking.processHarvest.entity.Tag;

import java.util.List;

public interface TagService extends IService<Tag> {

    /**
     * 创建标签
     *
     * @param tagList
     * @return
     */
    public Res<String> create(List<Tag> tagList);


    /**
     * 修改标签信息
     *
     * @param id
     * @param name
     * @param color
     * @return
     */
    public Res<String> update(String id, String name, String color);


    /**
     * 删除标签
     *
     * @param id
     * @return
     */
    public Res<String> delete(String id);
}
